<taglib name='Html' />
<div class="contentArea">
    <div class="Item hr">
        <div class="current">添加自定义资料</div>
        <div class="fr"><a href="{:U('index')}" class="btn">自定义资料列表</a></div>
    </div>
    <form>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
            <tr>
                <th width="80">说明：</th>
                <td><input name="mylang[cid]" id="cid" type="text" class="input" size="30" value="{$mylang.cid}" /></td>
            </tr>
            <tr>
                <th width="80">调用标识：</th>
                <td><input name="mylang[eid]"  id="eid"type="text" class="input" size="30" value="{$mylang.eid}" /> <span onclick="ShowHide('help_eid')" class="icon-question-sign hand" title="帮助"></span> <span id="help_eid">(必须为非中文)</span></td>
            </tr>
            <present name="language">
            <tr>
                <th width="100">语言：</th>
                <td>{$mylang['lang']|getLangTitle}</td>
            </tr>
            </present> 
        </table>
    <div class="Item hr">
        <div class="current">详细内容</div>
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
    	<tr><td>{:genEditor('mylang[langtxt]', $mylang['langtxt'], 120, 20, '1')}</td></tr>
    </table>
    <input type="hidden" name="mylang[id]" value="{$mylang.id}" />
    </form>
    <div class="commonBtnArea" >
        <button class="btn submit">提交</button>
    </div>
</div>

<include file="Mylang/javascript" />
<script type="text/javascript">
$(function(){
    submitForm("update");
});
</script>
